package org.lwx.annotation.value;

import java.lang.annotation.ElementType;
import java.lang.annotation.Target;

/**
 * @author lwx
 * @date 2020-09-18 15:48
 * @description
 **/
@Target(ElementType.TYPE)
public @interface OneNotNameValue {
    String notNameValue();
}


// @OneNotNameValue("hello")
// IDEA会报错 Cannot find method 'value'
class OneNotNameValueTest1 {

}

@OneNotNameValue(notNameValue = "hello")
class OneNotNameValueTest2 {

}
